package com.cy.pj.sys.dao;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: 逗逼子民
 * @Date: 2019/7/11 15:37
 * @Description:
 */
@Mapper
public interface SysRoleMenuDao {
    @Delete("")
    int deleteObjectsByRoleId(Integer id);

    int insertObjects(@Param("roleId") Integer roleId,
                      @Param("menuIds") Integer[] menuIds);
}
